body {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
    background-color: #f2f4f7;
}

a {
    text-decoration: none;
    font-size: #707070;
}

// 约束当屏幕大于750px时 ，html字体大小就不变化了
@media screen and(min-width:750px) {
    html {
        // 这里iphone678屏幕是375（电脑屏幕750的一半)js划分了10份(电脑屏幕划分20块)
        // 实际上写37.5和75都一样 看得是rem(比例)
        font-size: 37.5px !important;
    }
}

.header {
    height: 2.133333rem;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    line-height: 2.133333rem;
    font-size: .933333rem;
    color: #1c1c1c;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    padding: 1.2rem 0 1.6rem 0;

    // 显示不开就换行
    .items {
        display: flex;
        width: 33.33%;
        // 纵向显示
        flex-direction: column;
        // 水平居中
        align-items: center;

        img {
            width: 3.706667rem;
            height: 3.706667rem;
        }

        span {
            font-size: 0.666667rem;
            color: #707070;
        }

        // 选择前三个
        &:nth-child(-n+3) {
            margin-bottom: 1.653333rem;
        }
    }
}

.go {
    margin: 0 .266667rem 0 .48rem;
}


.wrap {
    background-color: #fff;
    padding-bottom: 1.146667rem;
}

.content {
    padding: 1.066667rem .64rem;
    margin-top: .266667rem;
    background-color: #fff;

    .con-hd {
        display: flex;
        height: 1.013333rem;
        justify-content: space-between;
        line-height: 1.013333rem;
        margin-bottom: .906667rem;

        h4 {
            margin: 0;
            font-size: .746667rem;
            color: #333;

            .icon {
                display: inline-block;
                width: 1.013333rem;
                height: 1.013333rem;
                // 基线对齐，添加这个代码可以让文字垂直居中
                vertical-align: middle;
            }

        }

        a {
            font-size: .586667rem;
            color: #999;
        }
    }

    .get-job-focus {
        position: relative;

        // 把整个轮播图宽度约束在540px
        .swiper-container {
            width: 14.4rem;
            height: 100%;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            // 竖向显示
            flex-direction: column;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
            transition: 300ms;
            // 两边的缩放0.8
            transform: scale(0.8);
            // 两边颜色淡一些(透明度)
            opacity: 0.4;

            a {
                width: 9.013333rem;
                height: 10.026667rem;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            p {
                width: 9.013333rem;
                margin-top: .64rem;
                font-size: .666667rem;
                color: #333;
            }
        }

        // 当前选中的swiper 就是中间的
        .swiper-slide-active,
        .swiper-slide-duplicate-active {
            // 中间缩放1
            transform: scale(1);
            z-index: 999;
            opacity: 1;
        }
    }
}

.study {
    padding-bottom: 3.733333rem;
}

// 学习模块的轮播图
.study-focus {

    .to-study {
        padding: .266667rem;
    }

    .swiper-slide {
        width: 7.733333rem;
        height: 9.066667rem;
        font-size: 18px;
        background: #fff;
        border-radius: .266667rem;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);

        h5 {
            padding: 0 .266667rem;
            font-size: .693333rem;
            margin: .533333rem 0;
            font-weight: 400;
        }

        p {
            padding: 0 .266667rem;
            font-size: .693333rem;
            color: #ff4400;
        }
    }
}

.footer {
    display: flex;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.933333rem;
    z-index: 999;
    background-color: #fff;
    padding: .506667rem;
    border-top: 1px solid #ccc;

    .items {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;

        img {
            width: 1.04rem;
            height: 1.093333rem;
        }

        p {
            font-size: .586667rem;
            color: #666;
            margin-top: .266667rem;
            // 尽量用偶数 不要用奇数
        }
    }
}